package cheme.ProcessModel.ProcessUnits.Streams.Tags;

import java.io.Serializable;

import cheme.ProcessModel.IModelElement;
import cheme.ProcessModel.ModelStringLiterals;
import cheme.ProcessModel.ProcessModelConstants;
import cheme.ProcessModel.Table.SelectionField;

public class MaterialField extends SelectionField implements ITagComponentField, Serializable
{
	/*
	 * Serialization version identifier. (Set to default for now)
	 */
	
	private static final long serialVersionUID = 1L;
	
	public static final String [] MATERIAL_OPTIONS = 
	{
		ModelStringLiterals.Select,
		"acetic acid",
		"ammonia",
		"benzene",
		"carbon dioxide",
		"carbon monoxide",
		"cyclohexane",
		"ethane",
		"ethanol",
		"ethylene",
		"hydrochloric acid",
		"hydrogen",
		"methane",
		"methanol",
		"n-butane",
		"n-hexane",
		"n-octane",
		"nitrogen",
		"oxygen",
		"phosphoric acid",
		"propane", 
		"sodium hydroxide",
		"sulfuric acid", 
		"toluene", 	
		"water"};
		
	public MaterialField(IModelElement parent)
	{
		this(parent, 0);
	}
	
	public MaterialField(IModelElement parent, int initialSelection)
	{
		super(parent, MATERIAL_OPTIONS, initialSelection, ProcessModelConstants.VARIABLE_MATERIAL); 
		//IPropertyAware.P_MATERIAL
	}
}